package com.java.zhuiyun.api.series_course.service;

import com.java.zhuiyun.api.series_course.entity.SeriesCourse;
import com.java.zhuiyun.api.series_course.model.DictSeriesModel;
import com.java.zhuiyun.api.series_course.model.SeriesCourseModel;
import com.java.zhuiyun.common.response.CommonResult;
import com.java.zhuiyun.util.pageUtil.PageRequest;
import com.java.zhuiyun.util.pageUtil.PageResult;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @InterfaceName SeriesCourseService
 * @Description TODO
 * @Author 杨友朋
 * @Date 2023/8/30 11:31
 **/
public interface SeriesCourseService {
    CommonResult insertSeries(MultipartFile file, SeriesCourseModel seriesCourse);

    PageResult selectSeries(SeriesCourseModel seriesCourseModel, PageRequest pageResult);

    List<DictSeriesModel> selectCourse(Integer teacherId);

    CommonResult selectCheck(Integer id);

    CommonResult addCourse(SeriesCourseModel seriesCourse);

    CommonResult selectById(Integer id);

    CommonResult upSeries(MultipartFile file, SeriesCourseModel seriesCourseModel);

    CommonResult delCourse(Integer id);

    CommonResult upSwitch(SeriesCourse seriesCourse);
    PageResult teacherSelectSeries(SeriesCourseModel seriesCourseModel, PageRequest pageResult);
}
